@echo off
setlocal ENABLEDELAYEDEXPANSION

set port=9203

for /f "tokens=1-5" %%i in ('netstat -ano^|findstr ":%port%"') do (
    echo kill the process %%m who use the port %port%
	
    taskkill /pid %%m -t -f
)